<template>
	<view class="noData">
		<image src="/static/noData.png" class="noDataImg" mode=""></image>
		<text>{{text}}</text>
	</view>
</template>

<script>
	export default {
		name:"empty",
		props:{
			text:{
				default:'暂无数据!',
				type:String
			}
		},
		data() {
			return {
				
			};
		}
	}
</script>

<style  lang="scss" scoped>
	.noData{
		width: 100%;
		height: 256rpx;
		@include flexs(center, center);
		flex-direction: column;
		color:#999;
		// background-color: #fff;
	}
	.noDataImg{
		display: inline-block;
		width:188rpx;
		height:128rpx;
		margin-bottom:20rpx;
	}
</style>